[INFO] cloning repository https://github.com/xuithoi/RTK-saving-AI-token
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuithoi/RTK-saving-AI-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuithoi%2FRTK-saving-AI-token", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuithoi%2FRTK-saving-AI-token'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7ae6bf018882dba248f151ba4ec4929300b3e36
[INFO] checking xuithoi/RTK-saving-AI-token against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuithoi%2FRTK-saving-AI-token" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xuithoi/RTK-saving-AI-token
[INFO] finished tweaking git repo https://github.com/xuithoi/RTK-saving-AI-token
[INFO] tweaked toml for git repo https://github.com/xuithoi/RTK-saving-AI-token written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xuithoi/RTK-saving-AI-token on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xuithoi/RTK-saving-AI-token already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded which v8.0.1
[INFO] [stderr]   Downloaded rusqlite v0.31.0
[INFO] [stderr]   Downloaded automod v1.0.16
[INFO] [stderr]   Downloaded libsqlite3-sys v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0
[INFO] running `Command { std: "docker" "start" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking clap_lex v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking clap_builder v4.5.60
[INFO] [stderr]     Checking env_home v0.1.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking quick-xml v0.37.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking ring v0.17.14
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking which v8.0.1
[INFO] [stderr]     Checking tempfile v3.26.0
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling automod v1.0.16
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking clap v4.5.60
[INFO] [stderr]    Compiling rtk v0.34.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking rusqlite v0.31.0
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core/stream.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl RegexBlockFilter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 95 |     pub fn new(tool_name: &str, start_pattern: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Buffered` is never constructed
[INFO] [stdout]    --> src/core/stream.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub enum FilterMode<'a> {
[INFO] [stdout]     |          ---------- variant in this enum
[INFO] [stdout] 178 |     Streaming(Box<dyn StreamFilter + 'a>),
[INFO] [stdout] 179 |     Buffered(Box<dyn Fn(&str) -> String + 'a>),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init_schema` is never used
[INFO] [stdout]    --> src/core/tracking.rs:338:8
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Tracker {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn init_schema(&self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_quotes` is never used
[INFO] [stdout]    --> src/discover/lexer.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub fn strip_quotes(s: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPENCODE_PLUGIN_PATH` is never used
[INFO] [stdout]   --> src/hooks/constants.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const OPENCODE_PLUGIN_PATH: &str = ".config/opencode/plugins/rtk.ts";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CURSOR_DIR` is never used
[INFO] [stdout]   --> src/hooks/constants.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const CURSOR_DIR: &str = ".cursor";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GEMINI_DIR` is never used
[INFO] [stdout]   --> src/hooks/constants.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const GEMINI_DIR: &str = ".gemini";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/main.rs:2234:62
[INFO] [stdout]      |
[INFO] [stdout] 2234 |                     libc::signal(libc::SIGINT, handle_signal as libc::sighandler_t);
[INFO] [stdout]      |                                                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 2234 |                     libc::signal(libc::SIGINT, handle_signal as *const () as libc::sighandler_t);
[INFO] [stdout]      |                                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/main.rs:2235:63
[INFO] [stdout]      |
[INFO] [stdout] 2235 |                     libc::signal(libc::SIGTERM, handle_signal as libc::sighandler_t);
[INFO] [stdout]      |                                                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 2235 |                     libc::signal(libc::SIGTERM, handle_signal as *const () as libc::sighandler_t);
[INFO] [stdout]      |                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILTERS_TOML` is never used
[INFO] [stdout]  --> src/core/constants.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const FILTERS_TOML: &str = "filters.toml";
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `load` is never used
[INFO] [stdout]    --> src/core/toml_filter.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | impl TomlFilterRegistry {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn load() -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/main.rs:2234:62
[INFO] [stdout]      |
[INFO] [stdout] 2234 |                     libc::signal(libc::SIGINT, handle_signal as libc::sighandler_t);
[INFO] [stdout]      |                                                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 2234 |                     libc::signal(libc::SIGINT, handle_signal as *const () as libc::sighandler_t);
[INFO] [stdout]      |                                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/main.rs:2235:63
[INFO] [stdout]      |
[INFO] [stdout] 2235 |                     libc::signal(libc::SIGTERM, handle_signal as libc::sighandler_t);
[INFO] [stdout]      |                                                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 2235 |                     libc::signal(libc::SIGTERM, handle_signal as *const () as libc::sighandler_t);
[INFO] [stdout]      |                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.14s
[INFO] running `Command { std: "docker" "inspect" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0", kill_on_drop: false }`
[INFO] [stdout] caccf18e55a508c12c13a0a445729bf47f2b32cba5b60016c1c45f5456805ff0
